public class ChildDiscountStrategy implements DiscountStrategy {
    @Override
    public double calculateDiscountedPrice(double originalPrice) {
        return (originalPrice >= 20) ? (originalPrice - 10) : originalPrice; // 减免10元优惠
    }
}
